package com.zywl.service;


import com.zywl.core.beans.Role;
import com.zywl.service.base.BaseService;

import java.util.List;

public interface RoleService extends BaseService<Role> {
    void save(Role role, String ids) throws Exception;

    void update(Role t, String ids) throws Exception;

    List<Role> getLevelDownRolesByRoleId(String roleId) throws Exception;

    int getMaxLevel() throws Exception;

    boolean roleNameExist(String roleName) throws Exception;
}
